package xtable;


public class _DatabaseMetaData_ extends xdb.util.DatabaseMetaData {
	@Override
	public boolean isVerifyXdb() {
		return true;
	}
	public void DatabaseMetaData1(){
		// xbeans
		{
			Bean bean = new Bean(3, "Role", false, false);
			super.addVariableFor(bean, 1, "rolename", "string", "", "", "", "", "");
			super.addVariableFor(bean, 2, "userid", "long", "", "", "", "", "");
			super.addVariableFor(bean, 3, "lastlogintime", "long", "", "", "", "", "");
			super.addBean(bean);
		}
		{
			Bean bean = new Bean(1, "ServerId", false, false);
			super.addVariableFor(bean, 1, "sid", "vector", "", "int", "", "", "");
			super.addBean(bean);
		}
		{
			Bean bean = new Bean(1, "Token", false, false);
			super.addVariableFor(bean, 1, "userid", "long", "", "", "", "", "");
			super.addBean(bean);
		}
		{
			Bean bean = new Bean(2, "User", false, false);
			super.addVariableFor(bean, 1, "prevloginroleid", "long", "", "", "", "", "");
			super.addVariableFor(bean, 2, "idlist", "vector", "", "long", "", "", "");
			super.addBean(bean);
		}
		// cbeans
		// tables
		super.addTable("localids", "DB", "int", false, "ServerId", "");
		super.addTable("roles", "DB", "long", true, "Role", "");
		super.addTable("token", "DB", "string", false, "Token", "");
		super.addTable("user", "DB", "long", false, "User", "");
	}
	public _DatabaseMetaData_() {
		DatabaseMetaData1();
	}
}

